package com.zyk.scaffold.user.controller.user;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class PwdResetRequ implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "重置token", required = true)
    @NotNull(message = "重置token不能为空!")
    private String pwdResetToken;

    @ApiModelProperty(value = "新密码", required = true)
    @NotNull(message = "新密码为空!")
    private String newPassword;

    @ApiModelProperty(value = "确认密码", required = true)
    @NotNull(message = "确认密码不能为空!")
    private String confirmPassword;
}
